home *** CD-ROM | disk | FTP | other *** search
/ Hráč 1999 January / Hrac_26_1999-01_cd3.bin / Demos / Heavy Gear 2 / hg2demo.exe / data / Objects / wtr10005.x < prev    next >
Text File  |  1998-08-06  |  5KB  |  258 lines

  1. xof 0302txt 0032
  2. template Header {
  3.  <3D82AB43-62DA-11cf-AB39-0020AF71E433>
  4.  WORD major;
  5.  WORD minor;
  6.  DWORD flags;
  7. }
  8.  
  9. template Vector {
  10.  <3D82AB5E-62DA-11cf-AB39-0020AF71E433>
  11.  FLOAT x;
  12.  FLOAT y;
  13.  FLOAT z;
  14. }
  15.  
  16. template Coords2d {
  17.  <F6F23F44-7686-11cf-8F52-0040333594A3>
  18.  FLOAT u;
  19.  FLOAT v;
  20. }
  21.  
  22. template Matrix4x4 {
  23.  <F6F23F45-7686-11cf-8F52-0040333594A3>
  24.  array FLOAT matrix[16];
  25. }
  26.  
  27. template ColorRGBA {
  28.  <35FF44E0-6C7C-11cf-8F52-0040333594A3>
  29.  FLOAT red;
  30.  FLOAT green;
  31.  FLOAT blue;
  32.  FLOAT alpha;
  33. }
  34.  
  35. template ColorRGB {
  36.  <D3E16E81-7835-11cf-8F52-0040333594A3>
  37.  FLOAT red;
  38.  FLOAT green;
  39.  FLOAT blue;
  40. }
  41.  
  42. template TextureFilename {
  43.  <A42790E1-7810-11cf-8F52-0040333594A3>
  44.  STRING filename;
  45. }
  46.  
  47. template Material {
  48.  <3D82AB4D-62DA-11cf-AB39-0020AF71E433>
  49.  ColorRGBA faceColor;
  50.  FLOAT power;
  51.  ColorRGB specularColor;
  52.  ColorRGB emissiveColor;
  53.  [...]
  54. }
  55.  
  56. template MeshFace {
  57.  <3D82AB5F-62DA-11cf-AB39-0020AF71E433>
  58.  DWORD nFaceVertexIndices;
  59.  array DWORD faceVertexIndices[nFaceVertexIndices];
  60. }
  61.  
  62. template MeshTextureCoords {
  63.  <F6F23F40-7686-11cf-8F52-0040333594A3>
  64.  DWORD nTextureCoords;
  65.  array Coords2d textureCoords[nTextureCoords];
  66. }
  67.  
  68. template MeshMaterialList {
  69.  <F6F23F42-7686-11cf-8F52-0040333594A3>
  70.  DWORD nMaterials;
  71.  DWORD nFaceIndexes;
  72.  array DWORD faceIndexes[nFaceIndexes];
  73.  [Material]
  74. }
  75.  
  76. template MeshNormals {
  77.  <F6F23F43-7686-11cf-8F52-0040333594A3>
  78.  DWORD nNormals;
  79.  array Vector normals[nNormals];
  80.  DWORD nFaceNormals;
  81.  array MeshFace faceNormals[nFaceNormals];
  82. }
  83.  
  84. template Mesh {
  85.  <3D82AB44-62DA-11cf-AB39-0020AF71E433>
  86.  DWORD nVertices;
  87.  array Vector vertices[nVertices];
  88.  DWORD nFaces;
  89.  array MeshFace faces[nFaces];
  90.  [...]
  91. }
  92.  
  93. template FrameTransformMatrix {
  94.  <F6F23F41-7686-11cf-8F52-0040333594A3>
  95.  Matrix4x4 frameMatrix;
  96. }
  97.  
  98. template Frame {
  99.  <3D82AB46-62DA-11cf-AB39-0020AF71E433>
  100.  [...]
  101. }
  102. template FloatKeys {
  103.  <10DD46A9-775B-11cf-8F52-0040333594A3>
  104.  DWORD nValues;
  105.  array FLOAT values[nValues];
  106. }
  107.  
  108. template TimedFloatKeys {
  109.  <F406B180-7B3B-11cf-8F52-0040333594A3>
  110.  DWORD time;
  111.  FloatKeys tfkeys;
  112. }
  113.  
  114. template AnimationKey {
  115.  <10DD46A8-775B-11cf-8F52-0040333594A3>
  116.  DWORD keyType;
  117.  DWORD nKeys;
  118.  array TimedFloatKeys keys[nKeys];
  119. }
  120.  
  121. template AnimationOptions {
  122.  <E2BF56C0-840F-11cf-8F52-0040333594A3>
  123.  DWORD openclosed;
  124.  DWORD positionquality;
  125. }
  126.  
  127. template Animation {
  128.  <3D82AB4F-62DA-11cf-AB39-0020AF71E433>
  129.  [...]
  130. }
  131.  
  132. template AnimationSet {
  133.  <3D82AB50-62DA-11cf-AB39-0020AF71E433>
  134.  [Animation]
  135. }
  136.  
  137. Header {
  138.  1;
  139.  0;
  140.  1;
  141. }
  142.  
  143. Frame frm-extru1 {
  144.   FrameTransformMatrix {
  145. 1.000000,0.000000,0.000000,0.000000,
  146. 0.000000,1.000000,0.000000,0.000000,
  147. 0.000000,0.000000,0.478112,0.000000,
  148. 0.000000,0.000000,0.000000,1.000000;;
  149.  }
  150. Mesh extru1 {
  151.  18;
  152.  -0.017755;-0.009825;-1.260192;,
  153.  -0.017755;-0.009825;-1.260192;,
  154.  -0.017755;-0.009825;1.185043;,
  155.  -0.017755;-0.009825;1.185043;,
  156.  0.017755;-0.009825;-1.260192;,
  157.  0.017755;-0.009825;-1.260192;,
  158.  0.000000;0.019650;-1.260192;,
  159.  0.000000;0.019650;-1.260192;,
  160.  0.000000;0.019650;1.185043;,
  161.  0.000000;0.019650;1.185043;,
  162.  0.017755;-0.009825;1.185043;,
  163.  0.017755;-0.009825;1.185043;,
  164.  0.017755;-0.009825;1.185043;,
  165.  0.000000;0.019650;1.185043;,
  166.  0.000000;0.019650;-1.260192;,
  167.  0.017755;-0.009825;-1.260192;,
  168.  -0.017755;-0.009825;1.185043;,
  169.  -0.017755;-0.009825;-1.260192;;
  170.  
  171.  5;
  172.  4;5,7,9,11;,
  173.  4;6,1,3,8;,
  174.  4;0,4,10,2;,
  175.  3;13,16,12;,
  176.  3;15,17,14;;
  177.  
  178.  MeshMaterialList {
  179.   1;
  180.   5;
  181.   0,
  182.   0,
  183.   0,
  184.   0,
  185.   0;
  186. Material {
  187.  0.700000;0.700000;0.700000;1.000000;;
  188.  50.000000;
  189.  1.000000;1.000000;1.000000;;
  190.  0.0; 0.0; 0.0;;
  191.  TextureFilename {
  192.   "smokmuzc.ppm";
  193.  }
  194.  }
  195. }
  196.  MeshNormals {
  197.   18;
  198.   -0.610604;-0.345010;-0.712833;,
  199.   -0.610604;-0.345010;-0.712833;,
  200.   -0.610604;-0.345010;0.712833;,
  201.   -0.610604;-0.345010;0.712833;,
  202.   0.610604;-0.345010;-0.712833;,
  203.   0.610604;-0.345010;-0.712833;,
  204.   0.000000;0.718155;-0.695883;,
  205.   0.000000;0.718155;-0.695883;,
  206.   0.000000;0.718155;0.695883;,
  207.   0.000000;0.718155;0.695883;,
  208.   0.610604;-0.345010;0.712833;,
  209.   0.610604;-0.345010;0.712833;,
  210.   0.610604;-0.345010;0.712833;,
  211.   0.000000;0.718155;0.695883;,
  212.   0.000000;0.718155;-0.695883;,
  213.   0.610604;-0.345010;-0.712833;,
  214.   -0.610604;-0.345010;0.712833;,
  215.   -0.610604;-0.345010;-0.712833;;
  216.  
  217.   5;
  218.   4;5,7,9,11;,
  219.   4;6,1,3,8;,
  220.   4;0,4,10,2;,
  221.   3;13,16,12;,
  222.   3;15,17,14;;
  223.  }
  224.  MeshTextureCoords { 
  225.  18;
  226.  0.868912;0.991042;,
  227.  0.879626;0.990645;,
  228.  0.869018;0.759653;,
  229.  0.879672;0.759907;,
  230.  0.879626;0.990645;,
  231.  0.868912;0.991042;,
  232.  0.868912;0.991042;,
  233.  0.879626;0.990645;,
  234.  0.869018;0.759653;,
  235.  0.879672;0.759907;,
  236.  0.879672;0.759907;,
  237.  0.869018;0.759653;,
  238.  0.117494;0.776961;,
  239.  0.122907;0.801981;,
  240.  0.875306;0.839461;,
  241.  0.880719;0.864481;,
  242.  0.110907;0.802032;,
  243.  0.868719;0.864532;;
  244.  }
  245. }
  246. }
  247. AnimationSet {
  248.  Animation anim-extru1 {
  249.   {frm-extru1}
  250.   AnimationKey {
  251.   1;
  252.   2;
  253.   1; 3; 1.000000, 1.000000, 0.478112;;,
  254.   100; 3; 1.000000, 1.000000, 0.478112;;;
  255.   }
  256.  }
  257. }
  258.